list = [1, 2, 3, 4, 5, ]
index = 0
while index < len(list):
    print(list[index])
    index += 1

for i in range(0, len(list)):
    print(f'{list[i]}\t', end='')
